package com.szp.drug.component.service.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.szp.drug.entity.DrugCheck;
import com.szp.drug.util.ResultEntity;

/**
 * 体检service接口
 * @author SuZePing
 * @create 2021-03-07 12:27
 * @E-mail suzeping10@126.com
 */
public interface DrugCheckService extends IService<DrugCheck> {

	/**
	 * 分页获取体检记录
	 * @param checkName
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	ResultEntity<PageInfo<DrugCheck>> getPageInfo(String checkName, String pageNum, String pageSize);

	/**
	 * 新增体检记录
	 * @param check
	 * @return
	 */
	ResultEntity<Integer> saveCheck(DrugCheck check);

	/**
	 * 删除记录
	 * @param checkId
	 * @return
	 */
	ResultEntity<String> removeCheck(String checkId);
}
